package com.ruoyi.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AiPlatformEntity {

    private int id;

    private String name;

    private int state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;

    private String baseUrl;

    private String remark;

    private String balanceProtocol;

    private int modelsCount;


    public static final int STATE_NORMAL = 1;
    public static final int STATE_DISABLED = 2;


    public static final int ID_OPEN_AI = 1;

    public static final String NAME_OPEN_AI = "OpenAI";

    public static final String BASE_URL_OPEN_AI = "https://api.openai.com";

    public static final String BALANCE_PROTOCOL_OPEN_AI = "OpenAI";
}
